package com.ruoyi.business.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class FileExternalUnitsFormPersonBo{
    /**
     * 主键
     */
    @NotNull(message = "主键id", groups = { AddGroup.class, EditGroup.class })
    private Long id;
    /**
     * 外单位表id
     */
    @NotNull(message = "外单位表id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long formId;
    /**
     * 员工id
     */
    @NotNull(message = "员工id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long personId;

}
